<template>
  <div>
    <button @click="test">点击测试</button>
  </div>
</template>
<script>
import character from "../components/character.vue";
export default {
  data() {
    return {};
  },
  methods:{
    test(){
      ajax()
    }
  },
  components: {
    character,
  },
};
</script>